import Header from "@/components/Header/Header";
import AnnouncementInfo from "./components/AnnouncementInfo/AnnouncementInfo";
import Banner from "./components/Banner/Banner";
import NavLine from "./components/NavLine/NavLine";
import PolicyDeclare from "./components/PolicyDeclare/PolicyDeclare";
import Service from "./Service";
import style from "./style.module.css";
export default class Index extends Service{
    render = () => {
        const {noticeList,policyFileList}=this.state;
        return (
            <div className={style.Index}>
                <div className={style.header}>
                    <Header/>
                </div>
                <div className={style.body}>
                <div className={style.banner}>
                    <Banner/>
                </div>
                <div className={style.nav_line}>
                    <NavLine/>
                </div>
                <div className={style.announcement_info}>
                    <AnnouncementInfo policyFileList={policyFileList} noticeList={noticeList} />
                </div>
                <div className={style.policy_declare}>
                    <PolicyDeclare history={this.props.history} />
                </div>
                </div>
            </div>
        )
    }
}